<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>vue</title>
	<script type="text/javascript" src="../../../static/lib/plugins/vue/src/vue.min.js"></script>
</head>
<body>
	<div id="app">
		<button @click="getmessage" v-text='message'></button>
	</div>
	<script type="text/javascript">
		var app = new Vue({
			el:"#app",
			data:{
				message:"vue测试"
			},
			methods:{
				getmessage:function(){
					alert(this.message);
				}
			}
		})
	</script>
</body>
</html>